//
//  NoDataShowView.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/4/20.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "NoDataShowView.h"

@interface NoDataShowView()

@property (weak, nonatomic) IBOutlet UIButton *reloadBtn;

@end

@interface NoDataShowView()

@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLab;
@property (weak, nonatomic) IBOutlet UIButton *reloadButton;

@end

@implementation NoDataShowView

- (void)awakeFromNib
{
    [super awakeFromNib];
    self.reloadButton.layer.borderColor = [UIColor redColor].CGColor;
}
+ (NoDataShowView *)noDataView
{
    return [[[NSBundle mainBundle]loadNibNamed:NSStringFromClass([NoDataShowView class]) owner:nil options:nil] lastObject];
}
- (void)addTarget:(id)target action:(SEL)action
{
    [self.reloadButton addTarget:target action:action forControlEvents:UIControlEventTouchUpInside];
}


@end
